package guoanmaker.operator.business.model;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import guoanmaker.operator.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;



@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="t_personal_fpbusiness_event_awards")
public class PersonalBusinessEventAwards extends IdEntity implements Cloneable{

	private String eventYear;//年份
	private String eventAwards;//所获奖项
	@Override
	public Object clone() {
		// TODO Auto-generated method stub
		PersonalBusinessEventAwards stu = null;  
		try{  
			stu = (PersonalBusinessEventAwards)super.clone();  
		}catch(CloneNotSupportedException e) {  
			e.printStackTrace();  
		}  
		return stu; 
	}
	
	/*@ManyToOne(fetch=FetchType.EAGER,optional=true)
	@JoinColumn(name="finance_project_id")
	private PersonalFinanceProject personalFinanceProject;*/
	
}
